#!/usr/bin/expect

set timeout 10s

spawn git add .

spawn git commit -m 'auto submit'

spawn git push origin master

expect "Username for 'https://gitee.com'"  {send "1843398977@qq.com\r"}

expect "Password for 'https://1843398977@qq.com@gitee.com'"  {send "EMRAN.806.4\r"}

interact
